﻿using System;
using System.Collections;
using System.Collections.Generic;

namespace sydfdl.TMS.Model
{
    [Serializable]
    public class T_B_Menu : T_Base
    {
        public Guid MID { get; set; }
        public Guid? FID { get; set; }
        public string MName { get; set; }
        public string MUrl { get; set; }
        public bool IsValid { get; set; }
        public bool IsHidden { get; set; }
        public double MSort { get; set; }
        public bool IsHasChild { get; set; }
        public bool IsRoot { get; set; }
        public bool IsLeaf { get; set; }
        public short MLevel { get; set; }
        public string ButtonXML { get; set; }
    }
    [Serializable]
    public class T_B_GroupMenu
    {
        public Guid MID { get; set; }
        public Guid? FID { get; set; }
        public string MName { get; set; }
        public Guid? IsMID { get; set; }
        public string ButtonXML { get; set; }
        public string InnerXML { get; set; }
        public IList<T_B_MenuXML> data { get; set; }
    }
    [Serializable]
    public class T_B_UserMenu
    {
        public Guid MID { get; set; }
        public Guid? FID { get; set; }
        public string MName { get; set; }
        public string MUrl { get; set; }
        public Guid? IsMID { get; set; }
        public string ButtonXML { get; set; }
        public string InnerXML { get; set; }
        public IList<T_B_MenuXML> data { get; set; }
    }

    /// <summary>
    /// 按钮
    /// </summary>
    [Serializable]
    public class T_B_MenuXML : T_Base
    {
        public string ID { get; set; }
        public string Text { get; set; }
        public bool IsChecked { get; set; }
    }
}
